<%--
  Created by IntelliJ IDEA.
  User: LQ
  Date: 2021/5/19
  Time: 19:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript" src="/jQuery/jquery-3.4.1.min.js"></script>
</head>
<body>
<div>
    <jsp:include page="main.jsp"/>
</div>

<div>
    <div class="overall_div">
        <h2>全局设置</h2>
        <form action="/saveOverallSetting" method="post">
            站点名称<input id="siteName" type="text" name="siteName" placeholder="${requestScope.overallSetting.siteName}"><br>
            站点描述<input id="siteDescribe" type="text" name="siteDescribe" placeholder="${requestScope.overallSetting.siteDescribe}"><br>
            站点关键词<input id="keyWord" type="text" name="keyWord" placeholder="${requestScope.overallSetting.keyWord}"><br>
            站点主题<input id="theme" type="text" name="theme" placeholder="${requestScope.overallSetting.theme}"><br>
            <button type="submit">保存设置</button>
        </form>
    </div>

    <div class="personal_div">
        <h2>个人设置</h2>
        <form action="/savePersonalSetting" method="post">
            微博账号<input id="weibo" type="text" name="weibo" placeholder="${requestScope.personalSetting.weibo}"><br>
            知乎账号<input id="zhihu" type="text" name="zhihu" placeholder="${requestScope.personalSetting.zhiHu}"><br>
            GitHub<input id="github" type="text" name="github" placeholder="${requestScope.personalSetting.github}"><br>
            twitter<input id="twitter" type="text" name="twitter" placeholder="${requestScope.personalSetting.twitter}"><br>
            <button type="submit">保存设置</button>
        </form>
    </div>
</div>
</body>
</html>

